package com.atguigu.practice;

import java.util.Scanner;

public class UnusualAdd {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int n=scanner.nextInt();
        int[] array=new int[n];
        for(int i=0;i<n;i++){
            array[i]=scanner.nextInt();
        }
        //进行消除
        for(int i=0;i<n-1;i++){
            int j=i+1;
            if(array[i]!=array[j]){
                i=j+1;
                continue;
            }
        }
    }
}
